package org.lisy.designpattern.memento;

/**
 * 备忘录
 * - 负责存储发起人的内部状态
 * - 提供这些内部状态给发起人
 * 
 * @author lisy
 */
public class Memento {

	private String state;

	public Memento() {

	}

	public Memento(String state) {
		this.state = state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getState() {
		return state;
	}
}
